//
//  ZhifuCell1.h
//  夺宝吧
//
//  Created by xiaocai on 15/11/27.
//  Copyright © 2015年 FangYuan. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CustomTextField.h"

@class ZhifuCell1;
@protocol ZhifuCell1Delegate <NSObject>

- (void)ZhifuCell1:(ZhifuCell1*)cell button:(UIButton*)sender;
- (void)ZhifuCell1:(ZhifuCell1 *)cell otherMoneyFieldResignFirstResponder:(UITextField*)textField;

@end

@interface ZhifuCell1 : UITableViewCell

//按钮点击的代理方法
@property (nonatomic , weak) id<ZhifuCell1Delegate> delegate;

//5个按钮  1个textField
@property (weak, nonatomic) IBOutlet UIButton *fiftyBtn;

@property (weak, nonatomic) IBOutlet UIButton *hundredBtn;

@property (weak, nonatomic) IBOutlet UIButton *twoHundredBtn;


@property (weak, nonatomic) IBOutlet UIButton *fiveHundredBtn;

@property (weak, nonatomic) IBOutlet UIButton *thousandsBtn;

@property (weak, nonatomic) IBOutlet UITextField *otherMoneyField;

//被选择的按钮

@property (nonatomic , strong) UIButton *selectedBtn;


//按钮点击的事件

- (IBAction)fiftyBtnClick:(UIButton *)sender;

- (IBAction)hundredBtnClick:(UIButton *)sender;

- (IBAction)twoHundredBtnClick:(UIButton *)sender;

- (IBAction)fiveHundredBtnClick:(UIButton *)sender;

- (IBAction)thousandBtnClick:(UIButton *)sender;





@end
